package com.asa.voice.mp3.asa.instream;

import java.io.IOException;

public abstract class RandomRead {
  protected long length;
  
  protected int duration;
  
  public abstract boolean open(String paramString1, String paramString2) throws IOException;
  
  public abstract void close();
  
  public abstract int read(byte[] paramArrayOfbyte, int paramInt1, int paramInt2) throws IOException;
  
  public abstract boolean seek(long paramLong) throws IOException;
  
  public long length() {
    return this.length;
  }
  
  public int getDuration() {
    return this.duration;
  }
}

